e316a72dac327ef0967ab714a723f076fb901abc,core/languageDesign/editor/source/jetbrains/mps/nodeEditor/EditorManager.java,EditorManager,createRoleAttributeCell,#EditorContext#SNode#Class#EditorCell#,118
Before Change
// use parameter attributeClass carefully, it is a "kind" of an attribute rather than an exact class of an attribute
public EditorCell createRoleAttributeCell(EditorContext context, SNode roleAttribute, Class attributeClass, EditorCell cellWithRole) {
return context.createRoleAttributeCell(attributeClass, cellWithRole, roleAttribute);
}
/*package*/ EditorCell doCreateRoleAttributeCell(Class attributeClass, EditorCell cellWithRole, EditorContext context, SNode roleAttribute) {
After Change
// use parameter attributeClass carefully, it is a "kind" of an attribute rather than an exact class of an attribute
public EditorCell createRoleAttributeCell(EditorContext context, SNode roleAttribute, Class attributeClass, EditorCell cellWithRole) {
// TODO: Make processing of style attributes more generic.
EditorCell attributeCell = context.createRoleAttributeCell(attributeClass, cellWithRole, roleAttribute);
if (cellWithRole.getStyle().get(StyleAttributes.INDENT_LAYOUT_NEW_LINE)) {
attributeCell.getStyle().set(StyleAttributes.INDENT_LAYOUT_NEW_LINE, true);
}
return attributeCell;
}
/*package*/ EditorCell doCreateRoleAttributeCell(Class attributeClass, EditorCell cellWithRole, EditorContext context, SNode roleAttribute) {